package com.evil.common.mongo.enums;

import com.evil.common.core.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author liyang
 * @date 2024-05-18 14:28
 */
@Getter
@AllArgsConstructor
public enum MongoRCodeEnum implements BaseEnum {

    /**
     * code - message
     */

    // region data mongo    [6000-6099]
    ENTITY_EXIST(6000, "已存在"),
    ENTITY_NOT_EXIST(6001, "不存在"),
    ENTITY_INIT_ERROR(6002, "初始化实体读取失败"),

    // endregion
    ;

    private final int code;
    private final String message;
}
